package com.bxshey.happyTown.config;

import org.springframework.core.annotation.Order;

import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import java.io.IOException;

/**
 * @作者：不想说话而已
 * @Date：2023/12/19 9:45
 */
@WebFilter(filterName = "myFilter")
@Order(1)
public class FilterConfig implements Filter {

    @Override
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {

        //放行
        chain.doFilter(request,response);
    }
}
